package day1;

/**
 * 学校类，属性：名字，地址，机房，教室
 *         方法：介绍
 * @author oldliu
 * @since 1.0
 */
public class School {
    String name;
    String address;
    int labs;
    int classRooms;
    public void introduceSelf(){
        System.out.println("这个学校叫"+name+"，位于"+address);
        System.out.println("有"+labs+"个机房，"+classRooms+"间教室");
    }
}
